package cn.stylefeng.guns.modular.myorder.controller;

import cn.stylefeng.roses.kernel.scanner.api.annotation.ApiResource;
import cn.stylefeng.roses.kernel.scanner.api.annotation.GetResource;
import org.springframework.stereotype.Controller;

/**
 * 订单管理界面
 *
 * @author zhu
 * @date 2021/09/25 18:20
 */
@Controller
@ApiResource(name = "订单管理界面")
public class MyorderViewController {

    /**
     * 订单管理首页
     *
     * @author zhu
     * @date 2021/09/25 18:20
     */
    @GetResource(name = "订单管理首页", path = "/view/myorder")
    public String myorderIndex() {
        return "/modular/business/myorder/myorder.html";
    }

    /**
     * 订单管理-新增
     *
     * @author zhu
     * @date 2021/09/25 18:20
     */
    @GetResource(name = "订单管理-新增", path = "/view/myorder/add")
    public String myorderAdd() {
        return "/modular/business/myorder/myorder_add.html";
    }

    /**
     * 订单管理-编辑
     *
     * @author zhu
     * @date 2021/09/25 18:20
     */
    @GetResource(name = "订单管理-编辑", path = "/view/myorder/edit")
    public String myorderEdit() {
        return "/modular/business/myorder/myorder_edit.html";
    }

}